<?php

namespace App\Models;

use App\Helpers\RequestCriteria;
use App\Helpers\BaseModel;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Spatie\Permission\Models\Role as SpatieRole;

class Role extends SpatieRole
{
    use HasFactory, RequestCriteria, BaseModel;

    protected $fillable = [
        'name' ,
        'guard_name',
        'group',
        'description',
    ];

    protected $casts = [
        'updated_at' => 'datetime:Y-m-d H:i:s',
        'created_at' => 'datetime:Y-m-d H:i:s',
    ];
}
